/* eslint-disable prettier/prettier */
import React from 'react';
import FontAwesome from 'react-native-vector-icons/FontAwesome5';
import { Text, View, StyleSheet } from 'react-native';

function Cell(props) {
  const { title } = props;
  return (
    <View style={styles.cell}>
      <Text style={styles.text}>{title}</Text>
      <FontAwesome name="chevron-right" style={styles.text}/>
    </View>
  );
}

export default Cell;

const styles = StyleSheet.create({
  cell: {
    height: 60,
    paddingLeft: 20,
    paddingRight: 20,
    borderBottomWidth: 1,
    borderBottomColor: '#eeeeee',
    flex: 1,
    justifyContent: 'space-between',
    alignItems: 'center',
    flexDirection: 'row',
  },
  text: {
    fontSize: 14,
    color: '#333333',
    lineHeight: 60,
  },
});
